<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <style type="text/css">
        #language{float:right;}
        #language li{float:left;margin-right:7px;}
    </style>
    <base href=".">

    <meta name="keywords" content="">
    <meta name="description" content="">
    <meta name="generator" content="">
    <title>VietFast Group</title>
    <?php
            echo $this->Html->css(array('bootstrap','bootstrap-responsive','template','menu','default','scolors3','zt.megamenu'));
            echo $this->Html->script(array('jquery.min','bootstrap'));
    ?>
    <style type="text/css">
        .qqcode{ display: block;
   T         padding-top: 10px;
            text-indent: -9999px;
            border-radius: 3px;
            width: 25px;
            height: 20px;
            }
            #zt-header{
               background: #<?php echo $hed['Header']['bgcolor']?> url(<?php echo $this->webroot.'files/uploads/headers/'.$hed['Header']['img']?>);
            }
    </style>
    <meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1">
    <link href="<?php echo $this->webroot;?>img/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon">
    <!-- Echo Header Script -->
</head>
<body class="rtl clearfix">
    <div id="zt-wrapper" class="container">
        <div id="zt-wrapper-inner" class="row-fluid">
            <!-- BEGIN HEADER -->
            <div id="zt-headerwrap">
                <div id="zt-header">
                    <div class="container-fluid"  style='position: relative;'>
                        <div class="row-fluid">
                            <div id="zt-text-outer" class="span12">
                                <div class="span2">
                                <a id="zt-logo-text" href="<?php echo $this->webroot;?>" title="Việt Fast"><span>VietFast Grroup</span></a>
                                </div><div class='span10' id='slogan'>
                                    <?php echo $sSlogan['Infor']['content'];?>
                                </div>
                            </div>

                            <div id="zt-header-right" class="span4 pull-right" style='position: absolute; top: 0px; right: 5px;'>
                                 <ul id= "language">
                                    <li><?php echo $html->link($html->image('en.gif')
                                    ,  array('language'=>'eng'),array('escape'=>false));?></li>
                                    <li><?php echo $html->link($html->image('zh.gif')
                                    ,  array('language'=>'chi'),array('escape'=>false));?></li>
                                    <li><?php echo $html->link($html->image('vi.gif')
                                    ,  array('language'=>'vie'), array('escape'=>false));?></li>
                                </ul>

                            </div>
                        </div>

                    </div>
                    <!-- Begin Menu -->
                    <div id="zt-mainmenu" class="row visible-desktop">
                        <div class="span9">
                                    <div class="menusys_mega">
                                        <ul id="menusys_mega">
                                            <li>
                                                <?php echo $this->Html->link(__('linkHome',true),'/'.$lang,array("title"=>__('linkHome',true),'escape'=>false));?>
                                            </li>
                                            <li class='hasChild'>
                                                <?php echo $this->Html->link(__('linkIntro',true),array('plugin'=>false,'language'=>$lang,'controller'=>'intros','action'=>'index'),array("title"=>__('linkIntro',true),'escape'=>false));?>
                                                <div class="menusub_mega" >
                                                    <div class="submenu-wrap" >
                                                        <div class="subarrowtop"></div>
                                                        <div class="subwrapcenter" >
                                                            <div class="megacol column1"  >
                                                                <ul class="mega-ul ul">
                                                                    <?php //debug($menu_intros);?>
                                                                    <?php foreach ($menu_intros as $key => $value) {?>
                                                                    <li class="mega-li">
                                                                        <?php if($value['Intro']['link'] =="#" || empty($value['Intro']['link'] )){?>
                                                                        <?php echo $this->Html->link(__($value["Intro"]['name'],true),array('plugin'=>false,'language'=>$lang,'controller'=>'intros','action'=>'index',$this->Link->seo($value["Intro"]['id'],__($value["Intro"]['name'],true))),array("class"=>"menu-title"));?>
                                                                        <?php }else{?>

                                                                        <a href="<?php echo $value['Intro']['link'] ;?>" class="menu-title"><?php   echo $value["Intro"]['name'] ;?> </a>

                                                                        <?php }?>
                                                                    </li>
                                                                    <?php }?>
                                                                </ul>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </li>
                                            <li class='hasChild'>
                                                <?php echo $this->Html->link(__('linkService',true),array('plugin'=>false,'language'=>$lang,'controller'=>'services','action'=>'index'),array("title"=>__('linkService',true),'escape'=>false));?>
                                                <div class="menusub_mega" >
                                                    <div class="submenu-wrap" >
                                                        <div class="subarrowtop"></div>
                                                        <div class="subwrapcenter" >
                                                            <div class="megacol column1"  >
                                                                <ul class="mega-ul ul">
                                                                    <?php foreach ($menu_services as $key => $value) {?>
                                                                    <li class="mega-li">
                                                                        <?php echo $this->Html->link(__($value,true),array('plugin'=>false,'language'=>$lang,'controller'=>'services','action'=>'index',$this->Link->seo($key,__($value,true))),array("class"=>"menu-title"));?>
                                                                    </li>
                                                                    <?php }?>
                                                                </ul>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </li>
                                            <!--
                                            <li class="hasChild">
                                                <?php echo $this->Html->link(__('linkProduct',true),array('plugin'=>false,'language'=>$lang,'controller'=>'products','action'=>'index'),array("title"=>__('linkProduct',true),'escape'=>false));?>
                                                <div class="menusub_mega" >
                                                    <div class="submenu-wrap" >
                                                        <div class="subarrowtop"></div>
                                                        <div class="subwrapcenter" >
                                                            <div class="megacol column1"  >
                                                                <ul class="mega-ul ul">
                                                                    <?php foreach ($menu_products as $key => $value) {?>
                                                                    <li class="mega-li">
                                                                        <?php echo $this->Html->link(__($value,true),array('plugin'=>false,'language'=>$lang,'controller'=>'products','action'=>'index',$this->Link->seo($key,__($value,true))),array("class"=>"menu-title"));?>
                                                                    </li>
                                                                    <?php }?>
                                                                </ul>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </li>
                                            -->
                                            <li>
                                                <?php echo $this->Html->link(__('linkNews',true),array('plugin'=>false,'language'=>$lang,'controller'=>'news','action'=>'index'),array("title"=>__('linkNews',true),'escape'=>false));?>
                                            </li>
                                            <!--
                                            <li class='hasChild'>
                                                <?php echo $this->Html->link(__('linkQuangchau',true),array('plugin'=>false,'language'=>$lang,'controller'=>'discovers','action'=>'index'),array("title"=>__('linkQuangchau',true),'escape'=>false));?>
                                                <div class="menusub_mega">
                                                    <div class="submenu-wrap" >
                                                        <div class="subarrowtop"></div>
                                                        <div class="subwrapcenter" >
                                                            <div class="megacol column1"  >
                                                                <ul class="mega-ul ul">
                                                                    <?php foreach ($menu_quangchau as $key => $value) {?>
                                                                    <li class="mega-li">
                                                                        <?php echo $this->Html->link(__($value,true),array('plugin'=>false,'language'=>$lang,'controller'=>'discovers','action'=>'index',$this->Link->seo($key,__($value,true))),array("class"=>"menu-title"));?>
                                                                    </li>
                                                                    <?php }?>
                                                                </ul>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </li>
                                            -->
                                            <li>
                                                <?php echo $this->Html->link(__('linkContact',true),array('plugin'=>false,'language'=>$lang,'controller'=>'contacts','action'=>'index'),array("title"=>__('linkContact',true),'escape'=>false));?>
                                            </li>
                                        </ul>
                                     </div>
                        </div>
                        <div id="zt-search" class="span3">
                            <div class="png search">
                               <?php echo $this->element('form', array('plugin' => 'searchable'));?>
                               <?php
                               //debug($this->params['plugin']);
                              // debug($this->params['named']['language']);
                              // debug($this->params['language']);
                               ?>
                           </div>
                       </div>
                        <div class="clr"></div>
                    </div>
                    <!-- End Menu -->
                    <div class="clr"></div>
                </div>
            </div>
            <!-- END HEADER -->
            <!-- Mobile menu -->
            <div class="container-fluid zt-drillmenu-inner hidden-desktop">
                <div class="navbar">
                    <div class="navbar-header">
                        <h3><span>Menu</span></h3>
                        <a class="btn btn-navbar" data-toggle="collapse" data-target=".menusys_drill"><span>Main Menu</span></a>
                    </div>
                    <div class="menusys_drill collapse">
                        <ul id="zo2-drilldown-menu" class="nav-drilldown">
                            <li class="first-item item active"><?php echo $this->Html->link(__('linkHome',true),array('language'=>$lang,'controller'=>'news','action'=>'index'),array("title"=>__('linkHome',true),'escape'=>false));?>
                            </li>
                            <li class="item hasChild"><?php echo $this->Html->link(__('linkIntro',true),array('language'=>$lang,'controller'=>'intros','action'=>'index'),array("title"=>__('linkIntro',true),'escape'=>false));?>

                        </li>
                        <li class="item"><?php echo $this->Html->link(__('linkService',true),array('language'=>$lang,'controller'=>'services','action'=>'index'),array("title"=>__('linkService',true),'escape'=>false));?>
                        </li>
                        <!--
                        <li class="item"><?php echo $this->Html->link(__('linkProduct',true),array('language'=>$lang,'controller'=>'products','action'=>'index'),array("title"=>__('linkProduct',true),'escape'=>false));?>
                        </li>
                        -->
                        <li class="last-item item"><?php echo $this->Html->link(__('linkNews',true),array('language'=>$lang,'controller'=>'news','action'=>'index'),array("title"=>__('linkNews',true),'escape'=>false));?>
                        </li>
                        <!--
                        <li class="last-item item"><?php echo $this->Html->link(__('linkQuangchau',true),array('language'=>$lang,'controller'=>'discovers','action'=>'index'),array("title"=>__('linkQuangchau',true),'escape'=>false));?>
                        </li>
                        -->
                        <li class="last-item item"><?php echo $this->Html->link(__('linkContact',true),array('language'=>$lang,'controller'=>'contacts','action'=>'index'),array("title"=>__('linkContact',true),'escape'=>false));?>
                        </li>
                        </ul>
                    </div>
                </div>
            </div>
            <!-- BEGIN CONTAINER -->
            <div id="zt-containerwrap">
                <div id="zt-container">
                    <div id="zt-body-cr" class="png">
                        <div id="zt-body-cl" class="png">
                            <div id="zt-body-tr" class="png">
                                <div id="zt-body-tl" class="png">
                                </div>
                            </div>
                            <div id="zt-body-cc" class="png">
                                <div id="zt-body-cc" class="png">
                                    <div id="zt-body-pad">
                                         <!-- THƯ NGỎ -->
                                        <div id="zt-colleft" class="span3">
                                            <div class="module-color zt-mod-br">
                                                <div class="zt-mod-bl">
                                                    <div class="zt-mod-tr">
                                                        <div class="zt-mod-tl clearfix">
                                                            <h3><span><?php echo __('headerWelcome',true);?></span></h3>
                                                            <div class="mod-content">


                                                                <div class="custom-color" id='welcome'>
                                                                    <p>
                                                                       <?php echo ($sIntro['Infor']['content']);?>
                                                                    </p>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="module-color zt-mod-br">
                                                <div class="zt-mod-bl">
                                                    <div class="zt-mod-tr">
                                                        <div class="zt-mod-tl clearfix">
                                                            <h3><span><?php echo __('headerSupport',true);?></span></h3>
                                                            <div class="mod-content">


                                                                <div class="custom-color">
                                                                   <?php foreach ($menu_support as $key => $value) {?>
                                                                        <div class="latestnews" style="width:100%">
                                                                            <div class="latestnewsitems" style="width:100%">
                                                                                <div class="latestnewsitems-inner">
                                                                                    <div class='row-liquid hotro'>
                                                                                        <div class="row-fluid">
                                                                                            <div class='span6'>
                                                                                                <?php echo $value['Support']['type'];?>
                                                                                            </div>
                                                                                            <div class='span6'>
                                                                                                    <?php echo $value['Support']['name'];?>
                                                                                                </div>
                                                                                            </div>
                                                                                            <div class="row-fluid">
                                                                                                 <hr>
                                                                                                <div style="width:55%;float:left;display:inline;line-height: 3;">
                                                                                                    <?php echo $value['Support']['phone'];?>
                                                                                                </div>
                                                                                                <div class='yahoo' style="width:15%;display:inline;float:left">
                                                                                                    <a href="ymsgr:sendim?<?php echo $value['Support']['yahoo'];?>" mce_href="ymsgr:sendim?<?php echo $value['Support']['yahoo'];?>" border="0" title='Yahoo'><img title='Yahoo' src="http://opi.yahoo.com/online?u=<?php echo $value['Support']['yahoo'];?>&t=5" mce_src="http://opi.yahoo.com/online?u=<?php echo $value['Support']['yahoo'];?>&t=5" style="width: 20px;hieght: 20px;background: none;border: 0;-moz-border-radius: 5px;-webkit-border-radius: 0;padding: inherit;"></a>

                                                                                                </div>
                                                                                                <div  style="width:15%;display:inline;float:left">
                                                                                                    <a href="Skype:<?php echo $value['Support']['skype'];?>?chat"  title='Skype'> <img title='Skype' style='background: none;border: 0;-moz-border-radius: 5px;-webkit-border-radius: 0;padding: inherit;' src="http://mystatus.skype.com/mediumicon/<?php echo $value['Support']['skype'];?>" title="Hi!" width="30" height="30" alt=""> </a>
                                                                                                </div>
                                                                                                <div style="width:15%;display:inline;float:left">
                                                                                                    <a class='qqcode' style='background: url(http://wpa.qq.com/pa?p=1:1307281231:5) 0 5px no-repeat;'  title='QQ' target="_blank" href="tencent://message/?uin=<?php echo $value['Support']['qq'];?>&amp;Site=QQ&amp;Menu=yes">
                                                                                                        QQ
                                                                                                    </a>
                                                                                                </div>
                                                                                            </div>
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                   <?php }?>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="module-color zt-mod-br">
                                                <div class="zt-mod-bl">
                                                    <div class="zt-mod-tr">
                                                        <div class="zt-mod-tl clearfix">
                                                            <h3><span><?php echo __('headerTuyendung',true);?></span></h3>
                                                            <div class="mod-content">
                                                                <div class="custom-color">
                                                                    <div class="latestnews" style="width:100%">
                                                                        <div class="latestnewsitems" style="width:100%">
                                                                            <div class="latestnewsitems-inner">
                                                                                <ul>
                                                                                <?php foreach ($sTuyendung as $key => $value) {?>
                                                                                <li>
                                                                                <?php echo $this->Html->link($value['News']['title'],array('language'=>$lang,'controller'=>'news','action'=>'chitiet',$this->Link->seo($value['News']['id'],$value['News']['title'])),array("title"=>$value['News']['title'],'escape'=>false));?>
                                                                                </li>
                                                                                <?php }?>
                                                                            </ul>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                            <div class="module-color zt-mod-br">
                                                <div class="zt-mod-bl">
                                                    <div class="zt-mod-tr">
                                                        <div class="zt-mod-tl clearfix">
                                                             <h3><span><?php echo __('UserOnline',true);?></span></h3>
                                                            <div class="mod-content">
                                                                <div class="custom-color">
                                                                    <div class="latestnews" style="width:100%">
                                                                        <div class="latestnewsitems" style="width:100%">
                                                                            <div class="latestnewsitems-inner clearfix">
                                                                            <ul>
                                                                                <li><span style='text-align:center;font-weight:bold;font-size: 30px'><?php include('./files/cou6nter.txt');?></span> người</li>
                                                                            </ul>

                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>

                                        <?php echo $content_for_layout;?>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div id="zt-body-br" class="png">
                            <div id="zt-body-bl" class="png">
                            </div>
                        </div>
                    </div>
                </div>
                <!-- END CONTAINER -->

                <!-- BEGIN FOOTER -->
                <div id="zt-footerwrap">
                    <div id="zt-footer">
                        <div id="zt-footer-br">
                            <div id="zt-footer-bl">
                                <div id="zt-footer-tr">
                                    <div id="zt-footer-tl">
                                        <div id="zt-footer-top">

                                            <ul class="menu">
                                                <li>
                                                    <?php echo $this->Html->link(__('linkHome',true),array('plugin'=>false,
                                                    'language'=>$lang,'controller'=>'news','action'=>'index'),array("title"=>__('linkHome',true),'escape'=>false));?>
                                                </li>
                                                <li>
                                                    <?php echo $this->Html->link(__('linkIntro',true),array('plugin'=>false,
                                                    'language'=>$lang,'controller'=>'intros','action'=>'index'),array("title"=>__('linkIntro',true),'escape'=>false));?>
                                                </li>
                                                <li>
                                                    <?php echo $this->Html->link(__('linkContact',true),array('plugin'=>false,'language'=>$lang,'controller'=>'contacts','action'=>'index'),array("title"=>__('linkContact',true),'escape'=>false));?>
                                                </li>
                                            </ul>
                                        </div>
                                        <div id="zt-footer-bottom">
                                            <div class="zt-copyright">
                                                <p>
                                                      <?php echo ($sFooter['Infor']['content']);?>
                                                </p>
                                            </div>
                                        </div>
                                        <div class="clearfix"></div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <!-- END FOOTER -->
            </div>
        </div>
    </div>
    <!-- AddThis Smart Layers BEGIN -->
<!-- Go to http://www.addthis.com/get/smart-layers to customize -->
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-527d2afa5e1cf892"></script>
<script type="text/javascript">
  addthis.layers({
    'theme' : 'transparent',
    'share' : {
      'position' : 'left',
      'numPreferredServices' : 5
    },
    'whatsnext' : {},
    'recommended' : {}
  });
</script>
<!-- AddThis Smart Layers END -->
</body>
</html>